package com.autumn.aitraffic.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("flow_record")
public class FlowRecord {
    private int id;
    @TableField(value = "intersection_id")
    private int intersection;
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss", timezone = "GMT+8")
    private Date sta;
    @TableField(value = "vehicle_num")
    private int number;
}
